package com.mdb.open.trade.domain.po.content;

/*
 * Copyright (C), 2017-2019 澳发科技(MDB)
 * FileName: FileTypeService.java
 * Author:   liuyi
 * Date:     2019-07-15
 * History:
 * <author>          <time>          <version>          <desc>
 * liuyi         2019-07-15          V1.00             代码生成器初始生成代码
 * -----------------------------------------------------------
 * 作者姓名           修改时间           版本号            描述
 */


import com.baomidou.mybatisplus.annotation.*;
import com.mdb.bc.api.data.DataObjectBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 类描述：
 * 实体类
 *
 * @author liuyi
 * @date 2019-07-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("file_type")
public class FileType extends DataObjectBase {

    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 文件类型
     */
    @TableField(value = "file_type", whereStrategy = FieldStrategy.NOT_EMPTY)
    private String fileType;

    /**
     * 文件类型描述
     */
    @TableField(value = "file_type_desc", whereStrategy = FieldStrategy.NOT_EMPTY)
    private String fileTypeDesc;

    /**
     * 文件最大限制 单位KB
     */
    @TableField("max_size")
    private Integer maxSize;

    /**
     * 文件类型限制
     */
    @TableField("type_limit")
    private String typeLimit;

    /**
     * 应用code
     */
    @TableField(value = "app_code", whereStrategy = FieldStrategy.NOT_EMPTY)
    private String appCode;

    /**
     * 业务类型
     */
    @TableField(value = "biz_type", whereStrategy = FieldStrategy.NOT_EMPTY)
    private String bizType;

    /**
     * 状态
     */
    private String status;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 创建用户(ID)
     */
    @TableField(value = "create_user_id", insertStrategy = FieldStrategy.NOT_NULL)
    private String createUserId;

    /**
     * 创建用户(名称)
     */
    @TableField(value = "create_user_name", insertStrategy = FieldStrategy.NOT_NULL)
    private String createUserName;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 更新用户(ID)
     */
    @TableField(value = "opt_user_id", fill = FieldFill.INSERT_UPDATE)
    private String optUserId;

    /**
     * 更新用户(名称)
     */
    @TableField(value = "opt_user_name", fill = FieldFill.INSERT_UPDATE)
    private String optUserName;
}
